﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Device
{
    public class BoardDeviceStaus
    {
        
    }
    // 设备输入类型
    public enum DeviceInputType
    {
        None = 0x00000000,
        gpinInputType1 = 0x00000001,
        gpinInputType2 = 0x00000002,
        gpinInputType3 = 0x00000004,
        gpinInputType4 = 0x00000008,
        gpinInputType5 = 0x00000010,
        gpinInputType6 = 0x00000020,
        gpinInputType7 = 0x00000040,
        gpinInputType8 = 0x00000080,
        gpinInputType9 = 0x00000100,
        gpinInputType10 = 0x00000200,
        gpinInputType11 = 0x00000400,
        gpinInputType12 = 0x00000800,
        gpinInputType13 = 0x00001000,
        gpinInputType14 = 0x00002000,
        gpinInputType15 = 0x00004000,
        gpinInputType16 = 0x00008000,
        gpinInputType17 = 0x00010000,
        gpinInputType18 = 0x00020000,
        gpinInputType19 = 0x00040000,
        gpinInputType20 = 0x00080000,
    }

    // 设备输出类型
    public enum DeviceOutputType
    {
        None = 0x00000000,
        gpinOutputType1 = 0x00000001,
        gpinOutputType2 = 0x00000040,
        gpinOutputType3 = 0x00001000,
        gpinOutputType4 = 0x00004000,
    }

    // 板卡在线状态  2019.11.24 wj   增
    public enum DeviceOnlineType
    {
        None,                // 板卡通讯关闭(默认状态)
        LostSignal,         // 板卡通讯异常、丢失
        Success,             //  板卡通讯成功
    }
}
